package leetcode.code0187;

import java.util.List;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution187 implements IDebug {
	public abstract List<String> findRepeatedDnaSequences(String s);

	@Override
	public void debug1() {
		String s = "AAAAACCCCCAAAAACCCCCCAAAAAGGGTTT";
		String str = "[\"AAAAACCCCC\",\"CCCCCAAAAA\"]";
		List<String> e = HelpDebug.str2liststr(str);
		List<String> r = this.findRepeatedDnaSequences(s);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String s = "AAAAAAAAAAAAA";
		String str = "[\"AAAAAAAAAA\"]";
		List<String> e = HelpDebug.str2liststr(str);
		List<String> r = this.findRepeatedDnaSequences(s);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
